package com.quan.system.service.impl;

import java.io.Serializable;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.quan.common.core.MyBaseServiceImpl;
import com.quan.system.entity.SystemEmployeeLabourContractHistory;
import com.quan.system.mapper.SystemEmployeeLabourContractHistoryMapper;
import com.quan.system.service.SystemEmployeeLabourContractHistoryService;

/**
 * <p>
 * 员工劳动合同终止变更历史表 服务实现类
 * </p>
 *
 * @author 杨浩泉
 * @since 2019-06-26
 */
@Service
public class SystemEmployeeLabourContractHistoryServiceImpl extends MyBaseServiceImpl<SystemEmployeeLabourContractHistoryMapper, SystemEmployeeLabourContractHistory> implements SystemEmployeeLabourContractHistoryService {

	@Override
	public void deleteByEmpId(Serializable empId) {
		QueryWrapper<SystemEmployeeLabourContractHistory> queryWrapper = new QueryWrapper<SystemEmployeeLabourContractHistory>();
		queryWrapper.eq("emp_id", empId);
		
		super.remove(queryWrapper) ;
	}
	
}
